package com.augmentum.springcloudorderservice.domain.product;

import lombok.Data;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.math.BigDecimal;
import java.util.Date;

@Table(name = "product_info")
@Entity
@Data
@DynamicUpdate
public class ProductInfo {
    @Id
    private String productId;
    private String productName;
    private Integer productStatus;
    private Integer categoryType;
    private Date createTime;
    private BigDecimal productPrice;
    private Integer productStock;
}
